package br.com.localfloripa.dao;

import javax.inject.Named;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.annotation.Scope;

import br.com.localfloripa.entities.Imovel;

@Named("imovelDao")
@Scope("singleton")
public class ImovelDao extends DaoManager<Imovel> {

	private static final Logger log = LoggerFactory.getLogger(ImovelDao.class);	
	
	public Imovel findById(Long idImovel) throws Exception {
		return em.find(Imovel.class, idImovel);
	}
	
}
